package com.antgroup.seckill.business.common.vo.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;


/**
 * @author wangxy
 * @date 2024/8/18 18:36
 */
@Data
public class GoodsRequest implements Serializable {

    private static final long serialVersionUID = 2L;

    @NotNull(message = "goodsName should not be null")
    private String goodsName;

    @NotNull(message = "goodsTitle should not be null")
    private String goodsTitle;

    @NotNull(message = "goodsImg should not be null")
    private String goodsImg;


    @NotNull(message = "goodsDetail should not be null")
    private String goodsDetail;

    @NotNull(message = "goodsPrice should not be null")
    private BigDecimal goodsPrice;

    @NotNull(message = "goodsStock should not be null")
    private Integer goodsStock;

    private String modifyTime;

    private String gmtTime;


}
